import request from '@/utils/request'
/**
 * 分页查询
 * @param {Object} query 查询条件
 */
export function GetOrderPageList(query) {
  return request({
    url: '/services/app/order/GetOrderPageList',
    method: 'get',
    params: query
  })
}

/**
 * 提交发货信息
 * @param {Object} dto 发货信息
 */
export function Delivery(dto) {
  return request({
    url: '/services/app/order/Delivery',
    method: 'post',
    data: dto
  })
}

/**
 * 确认订单完成
 * @param {Object} dto 订单信息
 */
export function Complete(dto) {
  return request({
    url: '/services/app/order/Complete',
    method: 'post',
    data: dto
  })
}
